// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import 'assets/css/fontawesome/fontawesome-all.css'
import 'assets/css/pace-theme-minimal.css'
import 'assets/css/common.css'
import router from 'router/index.js'
import store from 'store/index.js'
import VueAreaLinkage from 'vue-area-linkage'

Vue.config.productionTip = false
// axios.defaults.withCredentials = true

Vue.use(ElementUI)
Vue.use(VueAreaLinkage)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  template: '<App/>',
  components: { App },
  router,
  store
})
